export const pumpMapList = [
  { id: 'ZY', value: '中央水泵房', sceneName: 'ZYSBF' },
  { id: '401_01', value: '401采区1#水泵房', sceneName: 'ZNGPS_4011' },
  { id: '401_02', value: '401采区2#水泵房', sceneName: 'ZNGPS_4012' },
  { id: '402', value: '402采区水泵房', sceneName: 'ZNGPS_402' }
  // { id: '403', value: '403采区水泵房' },
  // { id: '411', value: '411采区水泵房' },
  // { id: '7_LX', value: '7#联巷强排泵房' },
  // { id: 'MPC', value: '木盘川强排泵房' }
];

export const videoInfo = {
  'ZY': [
    { id: 'ZY1', state: true, text: '1#中央水泵房' },
    { id: 'ZY2', state: false, text: '2#中央水泵房' },
    { id: 'ZY3', state: true, text: '3#中央水泵房' }
  ],
  '401_01': [
    { id: '401_011', state: false, text: '1#401采区1#水泵房' },
    { id: '401_012', state: true, text: '2#401采区1#水泵房' },
    { id: '401_013', state: false, text: '3#401采区1#水泵房' }
  ],
  '401_02': [],
  '402': [],
  '403': [],
  '411': [],
  '7_LX': [],
  'MPC': []
};

export const barInfo = {
  'ZY': [
    {
      'ssAnalogUnit': 'ppm',
      'transducerValue': '80',
      'ssTransducerName': '一氧化碳'
    },
    {
      'ssAnalogUnit': 'mg/m³',
      'transducerValue': '10',
      'ssTransducerName': '粉尘'
    },
    {
      'ssAnalogUnit': '',
      'transducerValue': '正常',
      'ssTransducerName': '风筒'
    }
  ],
  '401_01': [
    {
      'ssAnalogUnit': '℃',
      'transducerValue': '28',
      'ssTransducerName': '温度'
    },
    {
      'ssAnalogUnit': '%',
      'transducerValue': '0.27',
      'ssTransducerName': '甲烷'
    }
  ],
  '401_02': [
    {
      'ssAnalogUnit': '%',
      'transducerValue': '67.3',
      'ssTransducerName': '烟雾传感器'
    }
  ],
  '402': [
    {
      'ssAnalogUnit': '%',
      'transducerValue': '0.27',
      'ssTransducerName': '甲烷'
    }
  ],
  '403': [],
  '411': [
    {
      'ssAnalogUnit': 'ppm',
      'transducerValue': '80',
      'ssTransducerName': '一氧化碳'
    }
  ],
  '7_LX': [],
  'MPC': []
};

export const analysisData = {
  'ZY': {
    '近1天': {
      alarm: {
        day: '11',
        days: '111',
        line: [
          { x: '08:00', y: 38, s: '泵房告警' },
          { x: '12:00', y: 30, s: '泵房告警' },
          { x: '16:00', y: 36, s: '泵房告警' },
          { x: '20:00', y: 37, s: '泵房告警' },
          { x: '24:00', y: 37, s: '泵房告警' },
          { x: '04:00', y: 34, s: '泵房告警' }
        ],
        pie: [
          {
            'alarmCount': 70,
            'level1Desc': '水泵温度告警'
          },
          {
            'alarmCount': 343,
            'level1Desc': '液位告警'
          },
          {
            'alarmCount': 77,
            'level1Desc': '其他告警'
          }
        ]
      },
      fault: {
        day: '22',
        days: '222',
        line: [
          { x: '08:00', y: 38, s: '泵房故障' },
          { x: '12:00', y: 30, s: '泵房故障' },
          { x: '16:00', y: 36, s: '泵房故障' },
          { x: '20:00', y: 37, s: '泵房故障' },
          { x: '24:00', y: 37, s: '泵房故障' },
          { x: '04:00', y: 34, s: '泵房故障' }
        ],
        pie: [
          {
            'alarmCount': 70,
            'level1Desc': '1#'
          },
          {
            'alarmCount': 343,
            'level1Desc': '2#'
          },
          {
            'alarmCount': 77,
            'level1Desc': '3#'
          }
        ]
      }
    },
    '近7天': {},
    '近30天': {}
  }
};

export const monitorInfo = {
  'ZY': [
    {
      'deviceId': 'ZongYang_1HSB', // 水泵id
      'pumpName': '1#泵', // 水泵名称
      'runStatus': '运行', // 水泵运行状态
      'sbScZkjsj': '3915.0667', // 总开机时间
      'sbScZy': '0.161', // 负压
      'sbScFy': '0.004', // 正压
      'sbScBqzwd': '22.1', // 泵前轴温度
      'sbScBzhwd': '20.7', // 泵后轴温度
      'valveList': [ // 阀门信息
        {
          'valveName': '1#阀',
          'valveOpening': '100.0',
          'valveStatus': '完全打开',
          'valveErrorMsg': ['闸阀1开到位故障', '闸阀1过载故障']
        },
        {
          'valveName': '2#阀',
          'valveOpening': '100.0',
          'valveStatus': '完全打开',
          'valveErrorMsg': []
        },
        {
          'valveName': '3#阀',
          'valveOpening': '0.0',
          'valveStatus': '-',
          'valveErrorMsg': []
        }
      ],
      'level': { // 液位信息
        'levelName': '液位1', // 液位名称
        'currentLevel': '3.01', // 当前液位
        'lowLevel': '2.7', // 低液位
        'limitLevel': '7.0', // 高度
        'highLevel': '3.6', // 高液位
        'dangerLevel': '4.5' // 危险液位
      }
    },
    {
      'deviceId': 'ZongYang_2HSB',
      'pumpName': '2#泵',
      'runStatus': '故障',
      'sbScZkjsj': '3657.0',
      'sbScZy': '0.25',
      'sbScFy': '0.0025',
      'sbScBqzwd': '18.0',
      'sbScBzhwd': '0.0',
      'valveList': [
        {
          'valveName': '1#阀',
          'valveOpening': '0.0',
          'valveStatus': '故障',
          'valveErrorMsg': ['闸阀1开到位故障', '闸阀1过载故障']
        },
        {
          'valveName': '2#阀',
          'valveOpening': '100.0',
          'valveStatus': '完全打开',
          'valveErrorMsg': []
        },
        {
          'valveName': '3#阀',
          'valveOpening': '0.0',
          'valveStatus': '故障',
          'valveErrorMsg': []
        }
      ],
      'level': {
        'levelName': '液位1',
        'currentLevel': '3.012',
        'lowLevel': '2.7',
        'limitLevel': '7.0',
        'highLevel': '3.6',
        'dangerLevel': '4.5'
      }
    },
    {
      'deviceId': 'ZongYang_3HSB',
      'pumpName': '3#泵',
      'runStatus': '停止',
      'sbScZkjsj': '3954.05',
      'sbScZy': '0.206',
      'sbScFy': '0.003',
      'sbScBqzwd': '17.2',
      'sbScBzhwd': '16.9',
      'valveList': [
        {
          'valveName': '1#阀',
          'valveOpening': '0.0',
          'valveStatus': '完全关闭',
          'valveErrorMsg': []
        },
        {
          'valveName': '2#阀',
          'valveOpening': '100.0',
          'valveStatus': '完全打开',
          'valveErrorMsg': []
        },
        {
          'valveName': '3#阀',
          'valveOpening': '0.0',
          'valveStatus': '完全关闭',
          'valveErrorMsg': []
        }
      ],
      'level': {
        'levelName': '液位1',
        'currentLevel': '3.01',
        'lowLevel': '2.5',
        'limitLevel': '7.0',
        'highLevel': '3.6',
        'dangerLevel': '4.5'
      }
    },
    {
      'deviceId': 'ZongYang_2HSB',
      'pumpName': '4#泵',
      'runStatus': '故障',
      'sbScZkjsj': '3657.0',
      'sbScZy': '0.25',
      'sbScFy': '0.0025',
      'sbScBqzwd': '18.0',
      'sbScBzhwd': '0.0',
      'valveList': [
        {
          'valveName': '1#阀',
          'valveOpening': '0.0',
          'valveStatus': '-',
          'valveErrorMsg': []
        },
        {
          'valveName': '2#阀',
          'valveOpening': '100.0',
          'valveStatus': '完全打开',
          'valveErrorMsg': []
        },
        {
          'valveName': '3#阀',
          'valveOpening': '0.0',
          'valveStatus': '故障',
          'valveErrorMsg': []
        }
      ],
      'level': {
        'levelName': '液位1',
        'currentLevel': '3.012',
        'lowLevel': '2.7',
        'limitLevel': '7.0',
        'highLevel': '3.6',
        'dangerLevel': '4.5'
      }
    },
    {
      'deviceId': 'ZongYang_3HSB',
      'pumpName': '3#泵',
      'runStatus': '停止',
      'sbScZkjsj': '3954.05',
      'sbScZy': '0.206',
      'sbScFy': '0.003',
      'sbScBqzwd': '17.2',
      'sbScBzhwd': '16.9',
      'valveList': [
        {
          'valveName': '1#阀',
          'valveOpening': '0.0',
          'valveStatus': '完全关闭',
          'valveErrorMsg': []
        },
        {
          'valveName': '2#阀',
          'valveOpening': '100.0',
          'valveStatus': '完全打开',
          'valveErrorMsg': []
        },
        {
          'valveName': '3#阀',
          'valveOpening': '0.0',
          'valveStatus': '完全关闭',
          'valveErrorMsg': []
        }
      ],
      'level': {
        'levelName': '液位1',
        'currentLevel': '3.01',
        'lowLevel': '2.5',
        'limitLevel': '7.0',
        'highLevel': '3.6',
        'dangerLevel': '4.5'
      }
    }
  ],
  '401_01': [
    {
      'deviceId': 'ZongYang_1HSB', // 水泵id
      'pumpName': '1#泵', // 水泵名称
      'runStatus': '故障', // 水泵运行状态
      'sbScZkjsj': '3915.0667', // 总开机时间
      'sbScZy': '0.161', // 负压
      'sbScFy': '0.004', // 正压
      'sbScBqzwd': '22.1', // 泵前轴温度
      'sbScBzhwd': '20.7', // 泵后轴温度
      'valveList': [ // 阀门信息
        {
          'valveName': '1#阀',
          'valveOpening': '11.89',
          'valveStatus': '故障',
          'valveErrorMsg': ['闸阀1开到位故障', '闸阀1过载故障']
        },
        {
          'valveName': '2#阀',
          'valveOpening': '100.0',
          'valveStatus': '完全打开',
          'valveErrorMsg': []
        },
        {
          'valveName': '3#阀',
          'valveOpening': '0.0',
          'valveStatus': '-',
          'valveErrorMsg': []
        }
      ],
      'level': { // 液位信息
        'levelName': '液位1', // 液位名称
        'currentLevel': '3.01', // 当前液位
        'lowLevel': '2.7', // 低液位
        'limitLevel': '7.0', // 高度
        'highLevel': '3.6', // 高液位
        'dangerLevel': '4.5' // 危险液位
      }
    },
    {
      'deviceId': 'ZongYang_2HSB',
      'pumpName': '2#泵',
      'runStatus': '故障',
      'sbScZkjsj': '3657.0',
      'sbScZy': '0.25',
      'sbScFy': '0.0025',
      'sbScBqzwd': '18.0',
      'sbScBzhwd': '0.0',
      'valveList': [
        {
          'valveName': '1#阀',
          'valveOpening': '0.0',
          'valveStatus': '故障',
          'valveErrorMsg': []
        },
        {
          'valveName': '2#阀',
          'valveOpening': '100.0',
          'valveStatus': '完全打开',
          'valveErrorMsg': []
        },
        {
          'valveName': '3#阀',
          'valveOpening': '0.0',
          'valveStatus': '完全关闭',
          'valveErrorMsg': []
        }
      ],
      'level': {
        'levelName': '液位1',
        'currentLevel': '3.012',
        'lowLevel': '2.7',
        'limitLevel': '7.0',
        'highLevel': '3.6',
        'dangerLevel': '4.5'
      }
    },
    {
      'deviceId': 'ZongYang_3HSB',
      'pumpName': '3#泵',
      'runStatus': '故障',
      'sbScZkjsj': '3954.05',
      'sbScZy': '0.206',
      'sbScFy': '0.003',
      'sbScBqzwd': '17.2',
      'sbScBzhwd': '16.9',
      'valveList': [
        {
          'valveName': '1#阀',
          'valveOpening': '0.0',
          'valveStatus': '完全关闭',
          'valveErrorMsg': []
        },
        {
          'valveName': '2#阀',
          'valveOpening': '100.0',
          'valveStatus': '完全打开',
          'valveErrorMsg': []
        },
        {
          'valveName': '3#阀',
          'valveOpening': '0.0',
          'valveStatus': '完全关闭',
          'valveErrorMsg': []
        }
      ],
      'level': {
        'levelName': '液位2',
        'currentLevel': '3.01',
        'lowLevel': '2.5',
        'limitLevel': '7.0',
        'highLevel': '3.6',
        'dangerLevel': '4.5'
      }
    },
    {
      'deviceId': 'ZongYang_2HSB',
      'pumpName': '2#泵',
      'runStatus': '故障',
      'sbScZkjsj': '3657.0',
      'sbScZy': '0.25',
      'sbScFy': '0.0025',
      'sbScBqzwd': '18.0',
      'sbScBzhwd': '0.0',
      'valveList': [
        {
          'valveName': '1#阀',
          'valveOpening': '0.0',
          'valveStatus': '完全关闭',
          'valveErrorMsg': []
        },
        {
          'valveName': '2#阀',
          'valveOpening': '100.0',
          'valveStatus': '完全打开',
          'valveErrorMsg': []
        },
        {
          'valveName': '3#阀',
          'valveOpening': '0.0',
          'valveStatus': '完全关闭',
          'valveErrorMsg': []
        }
      ],
      'level': {
        'levelName': '液位1',
        'currentLevel': '3.012',
        'lowLevel': '2.7',
        'limitLevel': '7.0',
        'highLevel': '3.6',
        'dangerLevel': '4.5'
      }
    },
    {
      'deviceId': 'ZongYang_3HSB',
      'pumpName': '3#泵',
      'runStatus': '故障',
      'sbScZkjsj': '3954.05',
      'sbScZy': '0.206',
      'sbScFy': '0.003',
      'sbScBqzwd': '17.2',
      'sbScBzhwd': '16.9',
      'valveList': [
        {
          'valveName': '1#阀',
          'valveOpening': '0.0',
          'valveStatus': '完全关闭',
          'valveErrorMsg': []
        },
        {
          'valveName': '2#阀',
          'valveOpening': '100.0',
          'valveStatus': '完全打开',
          'valveErrorMsg': []
        },
        {
          'valveName': '3#阀',
          'valveOpening': '0.0',
          'valveStatus': '完全关闭',
          'valveErrorMsg': []
        }
      ],
      'level': {
        'levelName': '液位2',
        'currentLevel': '3.01',
        'lowLevel': '2.5',
        'limitLevel': '7.0',
        'highLevel': '3.6',
        'dangerLevel': '4.5'
      }
    }
  ],
  '401_02': [
    {
      'deviceId': 'ZongYang_1HSB', // 水泵id
      'pumpName': '1#泵', // 水泵名称
      'runStatus': '运行', // 水泵运行状态
      'sbScZkjsj': '3915.0667', // 总开机时间
      'sbScZy': '0.161', // 负压
      'sbScFy': '0.004', // 正压
      'sbScBqzwd': '22.1', // 泵前轴温度
      'sbScBzhwd': '20.7', // 泵后轴温度
      'valveList': [ // 阀门信息
        {
          'valveName': '1#阀',
          'valveOpening': '11.89',
          'valveStatus': '完全关闭',
          'valveErrorMsg': ['闸阀1开到位故障', '闸阀1过载故障']
        },
        {
          'valveName': '2#阀',
          'valveOpening': '100.0',
          'valveStatus': '完全打开',
          'valveErrorMsg': []
        },
        {
          'valveName': '3#阀',
          'valveOpening': '0.0',
          'valveStatus': '-',
          'valveErrorMsg': []
        }
      ],
      'level': { // 液位信息
        'levelName': '液位1', // 液位名称
        'currentLevel': '3.01', // 当前液位
        'lowLevel': '2.7', // 低液位
        'limitLevel': '7.0', // 高度
        'highLevel': '3.6', // 高液位
        'dangerLevel': '4.5' // 危险液位
      }
    },
    {
      'deviceId': 'ZongYang_2HSB',
      'pumpName': '2#泵',
      'runStatus': '运行',
      'sbScZkjsj': '3657.0',
      'sbScZy': '0.25',
      'sbScFy': '0.0025',
      'sbScBqzwd': '18.0',
      'sbScBzhwd': '0.0',
      'valveList': [
        {
          'valveName': '1#阀',
          'valveOpening': '0.0',
          'valveStatus': '完全关闭',
          'valveErrorMsg': []
        },
        {
          'valveName': '2#阀',
          'valveOpening': '100.0',
          'valveStatus': '完全打开',
          'valveErrorMsg': []
        },
        {
          'valveName': '3#阀',
          'valveOpening': '0.0',
          'valveStatus': '完全关闭',
          'valveErrorMsg': []
        }
      ],
      'level': {
        'levelName': '液位2',
        'currentLevel': '3.012',
        'lowLevel': '2.7',
        'limitLevel': '7.0',
        'highLevel': '3.6',
        'dangerLevel': '4.5'
      }
    },
    {
      'deviceId': 'ZongYang_3HSB',
      'pumpName': '3#泵',
      'runStatus': '运行',
      'sbScZkjsj': '3954.05',
      'sbScZy': '0.206',
      'sbScFy': '0.003',
      'sbScBqzwd': '17.2',
      'sbScBzhwd': '16.9',
      'valveList': [
        {
          'valveName': '1#阀',
          'valveOpening': '0.0',
          'valveStatus': '完全关闭',
          'valveErrorMsg': []
        },
        {
          'valveName': '2#阀',
          'valveOpening': '100.0',
          'valveStatus': '完全打开',
          'valveErrorMsg': []
        },
        {
          'valveName': '3#阀',
          'valveOpening': '0.0',
          'valveStatus': '完全关闭',
          'valveErrorMsg': []
        }
      ],
      'level': {
        'levelName': '液位3',
        'currentLevel': '3.01',
        'lowLevel': '2.5',
        'limitLevel': '7.0',
        'highLevel': '3.6',
        'dangerLevel': '4.5'
      }
    }
  ],
  '402': [
    {
      'deviceId': 'ZongYang_1HSB', // 水泵id
      'pumpName': '1#泵', // 水泵名称
      'runStatus': '停止', // 水泵运行状态
      'sbScZkjsj': '3915.0667', // 总开机时间
      'sbScZy': '0.161', // 负压
      'sbScFy': '0.004', // 正压
      'sbScBqzwd': '22.1', // 泵前轴温度
      'sbScBzhwd': '20.7', // 泵后轴温度
      'valveList': [ // 阀门信息
        {
          'valveName': '1#阀',
          'valveOpening': '11.89',
          'valveStatus': '完全关闭',
          'valveErrorMsg': ['闸阀1开到位故障', '闸阀1过载故障']
        },
        {
          'valveName': '2#阀',
          'valveOpening': '100.0',
          'valveStatus': '完全打开',
          'valveErrorMsg': []
        },
        {
          'valveName': '3#阀',
          'valveOpening': '0.0',
          'valveStatus': '-',
          'valveErrorMsg': []
        }
      ],
      'level': { // 液位信息
        'levelName': '液位1', // 液位名称
        'currentLevel': '3.01', // 当前液位
        'lowLevel': '2.7', // 低液位
        'limitLevel': '7.0', // 高度
        'highLevel': '3.6', // 高液位
        'dangerLevel': '4.5' // 危险液位
      }
    },
    {
      'deviceId': 'ZongYang_2HSB',
      'pumpName': '2#泵',
      'runStatus': '停止',
      'sbScZkjsj': '3657.0',
      'sbScZy': '0.25',
      'sbScFy': '0.0025',
      'sbScBqzwd': '18.0',
      'sbScBzhwd': '0.0',
      'valveList': [
        {
          'valveName': '1#阀',
          'valveOpening': '0.0',
          'valveStatus': '完全关闭',
          'valveErrorMsg': []
        },
        {
          'valveName': '2#阀',
          'valveOpening': '100.0',
          'valveStatus': '完全打开',
          'valveErrorMsg': []
        },
        {
          'valveName': '3#阀',
          'valveOpening': '0.0',
          'valveStatus': '完全关闭',
          'valveErrorMsg': []
        }
      ],
      'level': {
        'levelName': '液位2',
        'currentLevel': '3.012',
        'lowLevel': '2.7',
        'limitLevel': '7.0',
        'highLevel': '3.6',
        'dangerLevel': '4.5'
      }
    },
    {
      'deviceId': 'ZongYang_3HSB',
      'pumpName': '3#泵',
      'runStatus': '停止',
      'sbScZkjsj': '3954.05',
      'sbScZy': '0.206',
      'sbScFy': '0.003',
      'sbScBqzwd': '17.2',
      'sbScBzhwd': '16.9',
      'valveList': [
        {
          'valveName': '1#阀',
          'valveOpening': '0.0',
          'valveStatus': '完全关闭',
          'valveErrorMsg': []
        },
        {
          'valveName': '2#阀',
          'valveOpening': '100.0',
          'valveStatus': '完全打开',
          'valveErrorMsg': []
        },
        {
          'valveName': '3#阀',
          'valveOpening': '0.0',
          'valveStatus': '完全关闭',
          'valveErrorMsg': []
        }
      ],
      'level': {
        'levelName': '液位3',
        'currentLevel': '3.01',
        'lowLevel': '2.5',
        'limitLevel': '7.0',
        'highLevel': '3.6',
        'dangerLevel': '4.5'
      }
    },
    {
      'deviceId': 'ZongYang_2HSB',
      'pumpName': '2#泵',
      'runStatus': '停止',
      'sbScZkjsj': '3657.0',
      'sbScZy': '0.25',
      'sbScFy': '0.0025',
      'sbScBqzwd': '18.0',
      'sbScBzhwd': '0.0',
      'valveList': [
        {
          'valveName': '1#阀',
          'valveOpening': '0.0',
          'valveStatus': '完全关闭',
          'valveErrorMsg': []
        },
        {
          'valveName': '2#阀',
          'valveOpening': '100.0',
          'valveStatus': '完全打开',
          'valveErrorMsg': []
        },
        {
          'valveName': '3#阀',
          'valveOpening': '0.0',
          'valveStatus': '完全关闭',
          'valveErrorMsg': []
        }
      ],
      'level': {
        'levelName': '液位4',
        'currentLevel': '3.012',
        'lowLevel': '2.7',
        'limitLevel': '7.0',
        'highLevel': '3.6',
        'dangerLevel': '4.5'
      }
    },
    {
      'deviceId': 'ZongYang_3HSB',
      'pumpName': '3#泵',
      'runStatus': '停止',
      'sbScZkjsj': '3954.05',
      'sbScZy': '0.206',
      'sbScFy': '0.003',
      'sbScBqzwd': '17.2',
      'sbScBzhwd': '16.9',
      'valveList': [
        {
          'valveName': '1#阀',
          'valveOpening': '0.0',
          'valveStatus': '完全关闭',
          'valveErrorMsg': []
        },
        {
          'valveName': '2#阀',
          'valveOpening': '100.0',
          'valveStatus': '完全打开',
          'valveErrorMsg': []
        },
        {
          'valveName': '3#阀',
          'valveOpening': '0.0',
          'valveStatus': '完全关闭',
          'valveErrorMsg': []
        }
      ],
      'level': {
        'levelName': '液位5',
        'currentLevel': '3.01',
        'lowLevel': '2.5',
        'limitLevel': '7.0',
        'highLevel': '3.6',
        'dangerLevel': '4.5'
      }
    }
  ]
};
